#ifndef ITGOP_MSVC_AUTOLINKING_INCLUDED_
#define ITGOP_MSVC_AUTOLINKING_INCLUDED_
#ifdef _MSC_VER // If MSVC

#define BOOST_LIB_DIAGNOSTIC // have boost output a compiler message for each boost library linked

#if defined(_DEBUG) && defined(STATIC_LINK)
#pragma comment(lib, "libogg_static-debug.lib")
#pragma comment(lib, "libvorbis_static-debug.lib")
#pragma comment(lib, "libvorbisfile_static-debug.lib")
#pragma message("Linking with static debug libraries.")
#elif defined(_DEBUG) && defined(DYNAMIC_LINK)
#pragma comment(lib, "libogg-debug.lib")
#pragma comment(lib, "libvorbis-debug.lib")
#pragma comment(lib, "libvorbisfile-debug.lib")
#define BOOST_DYN_LINK
#pragma message("Linking with dynamic debug libraries.")
#elif defined(STATIC_LINK)
#pragma comment(lib, "libogg_static.lib")
#pragma comment(lib, "libvorbis_static.lib")
#pragma comment(lib, "libvorbisfile_static.lib")
#pragma message("Linking with static release libraries.")
#elif defined(DYNAMIC_LINK)
#pragma comment(lib, "libogg.lib")
#pragma comment(lib, "libvorbis.lib")
#pragma comment(lib, "libvorbisfile.lib")
#define BOOST_DYN_LINK
#pragma message("Linking with dynamic release libraries.")
#else
#error "STATIC_LINK or DYNAMIC_LINK must be defined."
#endif

#endif

#endif

/*
 Copyright 2011 Greg Najda

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/
